/**
 * 配置编译环境和线上环境之间的切换
 * baseUrl:域名地址
 * baseImgPath:图片存放地址
 */

let baseUrl = '';
let baseImgPath = '';

if (process.env.NODE_ENV === 'development') {
  baseUrl = '/api',
  baseImgPath = ''
} else {
  baseUrl = '',
  baseImgPath = ''
}

module.exports = {
  baseUrl,
  baseImgPath
};